package snippet;

public class T557 {
	public static void main(String[] args) {

	}

	public static String reverseWords(String s) {
		String[] arr = s.split(" ");
		StringBuffer sf= new StringBuffer();
		
		for (String a:arr) {
			sf.append(new StringBuffer(a).reverse()+" ");
		}
		return sf.toString().trim();

	}
}
